dojo.declare("Main", wm.Page, {
start: function() {
},
"preferredDevice": "desktop",
svUserNameSuccess: function(inSender, inDeprecated) {
console.error(inSender);
},
lvLoggedCustomerSuccess: function(inSender, inDeprecated) {
//var customerPg = wm.Page.getPage("DCustomerHomePg");
//if (customerPg) {
//  customerPg.svProjectServices.update();
//}
},
_end: 0
});

Main.widgets = {
varTemplateLogout: ["wm.LogoutVariable", {}, {}, {
input: ["wm.ServiceInput", {"type":"logoutInputs"}, {}]
}],
varTemplateLogout1: ["wm.LogoutVariable", {}, {}, {
input: ["wm.ServiceInput", {"type":"logoutInputs"}, {}]
}],
svUserName: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"getUserId","service":"securityService","startUpdate":true}, {"onSuccess":"svUserNameSuccess","onSuccess1":"lvLoggedCustomer"}, {
input: ["wm.ServiceInput", {"type":"getUserIdInputs"}, {}]
}],
svIsAuthenticated: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"isAuthenticated","service":"securityService","startUpdate":true}, {}, {
input: ["wm.ServiceInput", {"type":"isAuthenticatedInputs"}, {}]
}],
lvLoggedCustomer: ["wm.LiveVariable", {"autoUpdate":false,"inFlightBehavior":"executeLast","startUpdate":false,"type":"com.servicelivedb.data.Customer"}, {"onSuccess":"lvLoggedCustomerSuccess","onSuccess1":"pcCustomerContent.dCustomerHomePg.svProjectAllVendors"}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"svUserName.dataValue","targetProperty":"filter.email"}, {}]
}],
liveView: ["wm.LiveView", {"dataType":"com.servicelivedb.data.Customer","related":["project"],"view":[
{"caption":"CustomerId","sortable":true,"dataIndex":"customerId","type":"java.lang.Integer","displayType":"Number","required":true,"readonly":true,"includeLists":true,"includeForms":true,"order":1000,"subType":null,"widthUnits":"px"},
{"caption":"Address","sortable":true,"dataIndex":"address","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1001,"subType":null,"widthUnits":"px"},
{"caption":"Email","sortable":true,"dataIndex":"email","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1002,"subType":null,"widthUnits":"px"},
{"caption":"UpdatedDt","sortable":true,"dataIndex":"updatedDt","type":"java.util.Date","displayType":"Date","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1003,"subType":null,"widthUnits":"px"},
{"caption":"UpdatedBy","sortable":true,"dataIndex":"updatedBy","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1004,"subType":null,"widthUnits":"px"},
{"caption":"Active","sortable":true,"dataIndex":"active","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1005,"subType":null,"widthUnits":"px"},
{"caption":"Password","sortable":true,"dataIndex":"password","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1006,"subType":null,"widthUnits":"px"},
{"caption":"Username","sortable":true,"dataIndex":"username","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1007,"subType":null,"widthUnits":"px"},
{"caption":"Name","sortable":true,"dataIndex":"name","type":"java.lang.String","displayType":"Text","required":true,"readonly":false,"includeLists":true,"includeForms":true,"order":1008,"subType":null,"widthUnits":"px"},
{"caption":"PrimaryPhone","sortable":true,"dataIndex":"primaryPhone","type":"java.lang.String","displayType":"Text","required":true,"readonly":false,"includeLists":true,"includeForms":true,"order":1009,"subType":null,"widthUnits":"px"},
{"caption":"SecondaryPhone","sortable":true,"dataIndex":"secondaryPhone","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1010,"subType":null,"widthUnits":"px"},
{"caption":"Type","sortable":true,"dataIndex":"type","type":"java.lang.String","displayType":"Text","required":true,"readonly":false,"includeLists":true,"includeForms":true,"order":1011,"subType":null,"widthUnits":"px"},
{"caption":"AlternateContact","sortable":true,"dataIndex":"alternateContact","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1012,"subType":null,"widthUnits":"px"},
{"caption":"Pto","sortable":true,"dataIndex":"pto","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1013,"subType":null,"widthUnits":"px"},
{"caption":"PtoMessage","sortable":true,"dataIndex":"ptoMessage","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1014,"subType":null,"widthUnits":"px"},
{"caption":"Vendor_msg","sortable":true,"dataIndex":"vendor_msg","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1015,"subType":null,"widthUnits":"px"},
{"caption":"Min_order_amount","sortable":true,"dataIndex":"min_order_amount","type":"java.lang.Integer","displayType":"Number","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1016,"subType":null,"widthUnits":"px"},
{"caption":"Shop_time","sortable":true,"dataIndex":"shop_time","type":"java.lang.String","displayType":"Text","required":false,"readonly":false,"includeLists":true,"includeForms":true,"order":1017,"subType":null,"widthUnits":"px"},
{"caption":"ProjectId","sortable":true,"dataIndex":"project.projectId","type":"java.lang.Integer","displayType":"Number","required":true,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2000},
{"caption":"ProjectName","sortable":true,"dataIndex":"project.projectName","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2001},
{"caption":"Address","sortable":true,"dataIndex":"project.address","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2002},
{"caption":"Active","sortable":true,"dataIndex":"project.active","type":"java.lang.Boolean","displayType":"CheckBox","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2003},
{"caption":"PrimaryPhone","sortable":true,"dataIndex":"project.primaryPhone","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2004},
{"caption":"SecondaryPhone","sortable":true,"dataIndex":"project.secondaryPhone","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2005},
{"caption":"Email","sortable":true,"dataIndex":"project.email","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2006},
{"caption":"Website","sortable":true,"dataIndex":"project.website","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2007},
{"caption":"Description","sortable":true,"dataIndex":"project.description","type":"java.lang.String","displayType":"Text","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2008},
{"caption":"Image","sortable":true,"dataIndex":"project.image","type":"byte","displayType":"Number","required":false,"widthUnits":"px","includeLists":true,"includeForms":true,"order":2009}
]}, {}]
}],
vVersion: ["wm.Variable", {"json":"{\"dataValue\":\"1.20\"}","type":"NumberData"}, {}],
vProjectId: ["wm.Variable", {"type":"NumberData"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"lvLoggedCustomer.project.projectId","targetProperty":"dataSet.dataValue"}, {}]
}]
}],
layoutBox1: ["wm.Layout", {"horizontalAlign":"center","layoutKind":"left-to-right","styles":{"backgroundGradient":"","backgroundImage":"resources/images/mobile/background_m.jpg"},"verticalAlign":"top"}, {}, {
panel7: ["wm.Panel", {"height":"100%","horizontalAlign":"left","styles":{"backgroundImage":"resources/images/background/background_pink.png"},"verticalAlign":"top","width":"9%"}, {}],
panel1: ["wm.Panel", {"border":"0,1,0,0","borderColor":"#999999","height":"100%","horizontalAlign":"left","minDesktopHeight":600,"minHeight":600,"minWidth":900,"styles":{"backgroundColor":"#f3e8e8"},"verticalAlign":"top","width":"82%"}, {}, {
panel2: ["wm.HeaderContentPanel", {"border":"0,0,1,0","height":"80px","horizontalAlign":"left","layoutKind":"left-to-right","padding":"0,10,0,10","styles":{"backgroundImage":"resources/images/mobile/background_m.jpg"},"verticalAlign":"middle","width":"100%"}, {}, {
TitleBar: ["wm.Panel", {"_classes":{"domNode":["titlebar"]},"border":"0,0,4,0","height":"100%","horizontalAlign":"center","layoutKind":"left-to-right","styles":{"backgroundImage":"resources/images/background/background_pink.png"},"verticalAlign":"top","width":"100%"}, {}, {
picture2: ["wm.Picture", {"aspect":"v","height":"80px","source":"resources/images/desktop/h2m_logo_d.jpg","styles":{},"width":"83px"}, {}],
picture3: ["wm.Picture", {"aspect":"v","height":"80px","source":"resources/images/desktop/h2m_header.jpg","styles":{},"width":"262px"}, {}]
}],
panel10: ["wm.Panel", {"height":"100%","horizontalAlign":"left","styles":{"backgroundImage":"resources/images/background/background_pink.png"},"verticalAlign":"top","width":"300px"}, {}, {
label4: ["wm.Label", {"align":"left","padding":"2","width":"100%"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":"Logged in as ${svUserName.dataValue}","targetProperty":"caption"}, {}]
}]
}],
panel15: ["wm.Panel", {"desktopHeight":"24px","enableTouchHeight":true,"height":"24px","horizontalAlign":"left","layoutKind":"left-to-right","mobileHeight":"24%","styles":{},"verticalAlign":"middle","width":"100%"}, {}, {
text1: ["wm.Text", {"border":"0","dataValue":undefined,"displayValue":"","placeHolder":"Search","resetButton":true,"showing":false,"width":"100%"}, {}],
picture5: ["wm.Picture", {"height":"16px","showing":false,"source":"lib/images/silkIcons/zoom.png","width":"16px"}, {}]
}]
}],
logoutButton: ["wm.Button", {"border":"1","caption":"Logout"}, {"onclick":"varTemplateLogout"}]
}],
panel3: ["wm.Panel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","styles":{"backgroundImage":"resources/images/mobile/background_m.jpg"},"verticalAlign":"top","width":"100%"}, {}, {
panel4: ["wm.MainContentPanel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
allLayers: ["wm.Layers", {}, {}, {
layerAdmin: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","roles":["ADMIN"],"themeStyleType":"","verticalAlign":"top"}, {}, {
pcAdminContent: ["wm.PageContainer", {"deferLoad":true,"pageName":"DAdminPg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}],
layerCustomer: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","roles":["CUSTOMER"],"themeStyleType":"","verticalAlign":"top"}, {}, {
pcCustomerContent: ["wm.PageContainer", {"deferLoad":true,"pageName":"DCustomerHomePg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}],
layerVendor: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","roles":["VENDOR"],"themeStyleType":"","verticalAlign":"top"}, {}, {
pcVendorContent: ["wm.PageContainer", {"deferLoad":true,"pageName":"DVendorHomePg","subpageEventlist":{},"subpageMethodlist":{},"subpageProplist":{}}, {}]
}]
}]
}]
}],
panel6: ["wm.HeaderContentPanel", {"height":"24px","horizontalAlign":"left","layoutKind":"left-to-right","styles":{},"verticalAlign":"top","width":"100%"}, {}, {
label2: ["wm.Label", {"_classes":{"domNode":["wm_FontSizePx_10px"]},"caption":"Contact Us","height":"100%","padding":"4"}, {}],
label3: ["wm.Label", {"padding":"4","styles":{"fontSize":"10px"},"width":"54px"}, {}, {
binding: ["wm.Binding", {}, {}, {
wire: ["wm.Wire", {"expression":undefined,"source":"vVersion.dataValue","targetProperty":"caption"}, {}]
}]
}],
label1: ["wm.Label", {"_classes":{"domNode":["wm_FontSizePx_10px"]},"align":"right","caption":"Copyright 2013 TechnologyPort","height":"100%","padding":"4","styles":{"color":"#1445ae","fontWeight":"bold"},"width":"100%"}, {}]
}]
}],
panel5: ["wm.Panel", {"height":"100%","horizontalAlign":"left","styles":{"backgroundImage":"resources/images/background/background_pink.png"},"verticalAlign":"top","width":"9%"}, {}]
}]
};

Main.prototype._cssText = '';
Main.prototype._htmlText = '';